<?php

include("../dao/torneoDAO.php");
include ("../db/openconnection.php");

$connectionDB = new ConnectionDB();
$linkdb = $connectionDB -> connectAndGetConnection();
$torneo_dao = new TorneoDAO($linkdb);
echo json_encode($torneo_dao->getConfigTorneo());
$connectionDB -> closeConnection();

?>